﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq;
using System.Data.Linq.Mapping;
namespace DTO
{
    [Table(Name = "dishes")]
    public class Dishes
    {
        int _nID;
        string _strName;
        int _nPrice; 
        [Column(IsPrimaryKey = true, IsDbGenerated = true,Name="ID")]
        public int NID
        {
            get { return _nID; }
            set { _nID = value; }
        }
        [Column(Name="price")]
        public int NPrice
        {
            get { return _nPrice; }
            set { _nPrice = value; }
        }
        [Column(Name="name")]
        public string StrName
        {
            get { return _strName; }
            set { _strName = value; }
        }
       


    }
}
